<?php #coding: utf-8 æ ø å ?>
<? 
	$element = new individ();
    $element->find_alle_professioner();
	$alle_professioner = $element->alle_professioner; 
//    print_r($alle_professioner);

/*if(isset($besked))
{
	echo $besked;
} 
*/
?>

<form action ="<? echo base_url() ?>core/rediger/profession/<? echo $stamdata['id'];?>" method="post">
	<input class="submit" type=submit style="float:right;" value="Ret"/>
	<select name="profession_id">
	<?
	foreach($alle_professioner as $p)
	{
		$prof_navn = $p['navn'];
		$prof_id = $p['id'];


		?>
		<option value="<? echo $prof_id; ?>" <? // if($stamdata['profession'] == $r['id']){ echo "selected='selected'"; } ?> ><? echo $prof_navn; ?></option>
		<?
	}
	?>
	</select>

</form>


